package com.btpn.custody.web.m006.fixlength;

import java.util.Date;

import org.coury.jfilehelpers.annotations.FieldAlign;
import org.coury.jfilehelpers.annotations.FieldConverter;
import org.coury.jfilehelpers.annotations.FieldFixedLength;
import org.coury.jfilehelpers.annotations.FieldTrim;
import org.coury.jfilehelpers.annotations.FixedLengthRecord;
import org.coury.jfilehelpers.enums.AlignMode;
import org.coury.jfilehelpers.enums.ConverterKind;
import org.coury.jfilehelpers.enums.TrimMode;

import com.btpn.custody.common.Constant;

@FixedLengthRecord
public class FL_NonIndividu {

	@FieldFixedLength(6)
	@FieldAlign(alignMode=AlignMode.Left)
	private String cif;
	
	@FieldFixedLength(3)
	@FieldAlign(alignMode=AlignMode.Left)
	private String cstLoc;
	
	@FieldFixedLength(35)
	@FieldAlign(alignMode=AlignMode.Left)
	private String cstFullName;
	
	@FieldFixedLength(2)
	@FieldAlign(alignMode=AlignMode.Left)
	private String parentCountry;
	
	@FieldFixedLength(35)
	@FieldAlign(alignMode=AlignMode.Left)
	private String aktePendirian1;
	
	@FieldFixedLength(35)
	@FieldAlign(alignMode=AlignMode.Left)
	private String aktePendirian2;
	
	@FieldFixedLength(35)
	@FieldAlign(alignMode=AlignMode.Left)
	private String akteTerakhir1;
	
	@FieldFixedLength(35)
	@FieldAlign(alignMode=AlignMode.Left)
	private String akteTerakhir2;
	
	@FieldFixedLength(35)
	@FieldAlign(alignMode=AlignMode.Left)
	private String ijinUsaha;
	
	@FieldFixedLength(35)
	@FieldAlign(alignMode=AlignMode.Left)
	private String tdp;
	
	// if use date, date harus bs diconvert : coz klo gagal diconvert maka error
//	@FieldTrim(trimMode=TrimMode.Right)
//  @FieldConverter(converter = ConverterKind.Date, format = Constant.FORMAT_EQ_EXPORT)    
    @FieldFixedLength(6)
    @FieldAlign(alignMode=AlignMode.Left)
    public String tdpExp;
	
	@FieldFixedLength(35)
	@FieldAlign(alignMode=AlignMode.Left)
	private String npwp;	
	
	@FieldFixedLength(1)
	@FieldAlign(alignMode=AlignMode.Left)
	private String currIncome;
	
	@FieldFixedLength(20)
	@FieldAlign(alignMode=AlignMode.Left)
	private String rekBankLain1;

	@FieldFixedLength(20)
	@FieldAlign(alignMode=AlignMode.Left)
	private String rekBankLain2;

	@FieldFixedLength(20)
	@FieldAlign(alignMode=AlignMode.Left)
	private String rekBankLain3;

	@FieldFixedLength(1)
	@FieldAlign(alignMode=AlignMode.Left)
	private String lapKeuangan;
	
	@FieldTrim(trimMode=TrimMode.Right)  
    @FieldFixedLength(6)  
    @FieldConverter(converter = ConverterKind.Date, format = Constant.FORMAT_EQ_EXPORT)  
    public Date openDate;
	
	@FieldFixedLength(35)
	@FieldAlign(alignMode=AlignMode.Left)
	private String jenisUsaha;
	
	@FieldFixedLength(1)
	@FieldAlign(alignMode=AlignMode.Left)
	private String purpose;

	@FieldFixedLength(1)
	@FieldAlign(alignMode=AlignMode.Left)
	private String hubBank;
	
	@FieldFixedLength(4)
	@FieldAlign(alignMode=AlignMode.Left)
	private String golNasabah;

	@FieldFixedLength(5)
	@FieldAlign(alignMode=AlignMode.Right)
	private String freqTrxDb;
	
	@FieldFixedLength(5)
	@FieldAlign(alignMode=AlignMode.Right)
	private String freqTrxCr;
	
	@FieldFixedLength(15)
	@FieldAlign(alignMode=AlignMode.Right)
	private String avgTrxDb;
	
	@FieldFixedLength(15)
	@FieldAlign(alignMode=AlignMode.Right)
	private String avgTrxCr;

	@FieldFixedLength(1)
	@FieldAlign(alignMode=AlignMode.Left)
	private String srcIncome;
		
	@FieldFixedLength(3)
	@FieldAlign(alignMode=AlignMode.Left)
	private String hrCust;

	@FieldFixedLength(3)
	@FieldAlign(alignMode=AlignMode.Left)
	private String hrBuss;

	@FieldFixedLength(3)
	@FieldAlign(alignMode=AlignMode.Left)
	private String hrCountry;

	@FieldFixedLength(3)
	@FieldAlign(alignMode=AlignMode.Left)
	private String hrProduct;

	@FieldFixedLength(1)
	@FieldAlign(alignMode=AlignMode.Left)
	private String addIncome;

	public FL_NonIndividu(String cif, String cstLoc, String cstFullName,
			String parentCountry, String aktePendirian1, String aktePendirian2,
			String akteTerakhir1, String akteTerakhir2, String ijinUsaha,
			String tdp, String tdpExp, String npwp, String currIncome,
			String rekBankLain1, String rekBankLain2, String rekBankLain3,
			String lapKeuangan, Date openDate, String jenisUsaha,
			String purpose, String hubBank, String golNasabah,
			String freqTrxDb, String freqTrxCr, String avgTrxDb,
			String avgTrxCr, String srcIncome, String hrCust, String hrBuss,
			String hrCountry, String hrProduct, String addIncome) {
		super();
		this.cif = cif;
		this.cstLoc = cstLoc;
		this.cstFullName = cstFullName;
		this.parentCountry = parentCountry;
		this.aktePendirian1 = aktePendirian1;
		this.aktePendirian2 = aktePendirian2;
		this.akteTerakhir1 = akteTerakhir1;
		this.akteTerakhir2 = akteTerakhir2;
		this.ijinUsaha = ijinUsaha;
		this.tdp = tdp;
		this.tdpExp = tdpExp;
		this.npwp = npwp;
		this.currIncome = currIncome;
		this.rekBankLain1 = rekBankLain1;
		this.rekBankLain2 = rekBankLain2;
		this.rekBankLain3 = rekBankLain3;
		this.lapKeuangan = lapKeuangan;
		this.openDate = openDate;
		this.jenisUsaha = jenisUsaha;
		this.purpose = purpose;
		this.hubBank = hubBank;
		this.golNasabah = golNasabah;
		this.freqTrxDb = freqTrxDb;
		this.freqTrxCr = freqTrxCr;
		this.avgTrxDb = avgTrxDb;
		this.avgTrxCr = avgTrxCr;
		this.srcIncome = srcIncome;
		this.hrCust = hrCust;
		this.hrBuss = hrBuss;
		this.hrCountry = hrCountry;
		this.hrProduct = hrProduct;
		this.addIncome = addIncome;
	}

	public String getCif() {
		return cif;
	}

	public void setCif(String cif) {
		this.cif = cif;
	}

	public String getCstLoc() {
		return cstLoc;
	}

	public void setCstLoc(String cstLoc) {
		this.cstLoc = cstLoc;
	}

	public String getCstFullName() {
		return cstFullName;
	}

	public void setCstFullName(String cstFullName) {
		this.cstFullName = cstFullName;
	}

	public String getParentCountry() {
		return parentCountry;
	}

	public void setParentCountry(String parentCountry) {
		this.parentCountry = parentCountry;
	}

	public String getAktePendirian1() {
		return aktePendirian1;
	}

	public void setAktePendirian1(String aktePendirian1) {
		this.aktePendirian1 = aktePendirian1;
	}

	public String getAktePendirian2() {
		return aktePendirian2;
	}

	public void setAktePendirian2(String aktePendirian2) {
		this.aktePendirian2 = aktePendirian2;
	}

	public String getAkteTerakhir1() {
		return akteTerakhir1;
	}

	public void setAkteTerakhir1(String akteTerakhir1) {
		this.akteTerakhir1 = akteTerakhir1;
	}

	public String getAkteTerakhir2() {
		return akteTerakhir2;
	}

	public void setAkteTerakhir2(String akteTerakhir2) {
		this.akteTerakhir2 = akteTerakhir2;
	}

	public String getIjinUsaha() {
		return ijinUsaha;
	}

	public void setIjinUsaha(String ijinUsaha) {
		this.ijinUsaha = ijinUsaha;
	}

	public String getTdp() {
		return tdp;
	}

	public void setTdp(String tdp) {
		this.tdp = tdp;
	}

	public String getTdpExp() {
		return tdpExp;
	}

	public void setTdpExp(String tdpExp) {
		this.tdpExp = tdpExp;
	}

	public String getNpwp() {
		return npwp;
	}

	public void setNpwp(String npwp) {
		this.npwp = npwp;
	}

	public String getCurrIncome() {
		return currIncome;
	}

	public void setCurrIncome(String currIncome) {
		this.currIncome = currIncome;
	}

	public String getRekBankLain1() {
		return rekBankLain1;
	}

	public void setRekBankLain1(String rekBankLain1) {
		this.rekBankLain1 = rekBankLain1;
	}

	public String getRekBankLain2() {
		return rekBankLain2;
	}

	public void setRekBankLain2(String rekBankLain2) {
		this.rekBankLain2 = rekBankLain2;
	}

	public String getRekBankLain3() {
		return rekBankLain3;
	}

	public void setRekBankLain3(String rekBankLain3) {
		this.rekBankLain3 = rekBankLain3;
	}

	public String getLapKeuangan() {
		return lapKeuangan;
	}

	public void setLapKeuangan(String lapKeuangan) {
		this.lapKeuangan = lapKeuangan;
	}

	public Date getOpenDate() {
		return openDate;
	}

	public void setOpenDate(Date openDate) {
		this.openDate = openDate;
	}

	public String getJenisUsaha() {
		return jenisUsaha;
	}

	public void setJenisUsaha(String jenisUsaha) {
		this.jenisUsaha = jenisUsaha;
	}

	public String getPurpose() {
		return purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}

	public String getHubBank() {
		return hubBank;
	}

	public void setHubBank(String hubBank) {
		this.hubBank = hubBank;
	}

	public String getGolNasabah() {
		return golNasabah;
	}

	public void setGolNasabah(String golNasabah) {
		this.golNasabah = golNasabah;
	}

	public String getFreqTrxDb() {
		return freqTrxDb;
	}

	public void setFreqTrxDb(String freqTrxDb) {
		this.freqTrxDb = freqTrxDb;
	}

	public String getFreqTrxCr() {
		return freqTrxCr;
	}

	public void setFreqTrxCr(String freqTrxCr) {
		this.freqTrxCr = freqTrxCr;
	}

	public String getAvgTrxDb() {
		return avgTrxDb;
	}

	public void setAvgTrxDb(String avgTrxDb) {
		this.avgTrxDb = avgTrxDb;
	}

	public String getAvgTrxCr() {
		return avgTrxCr;
	}

	public void setAvgTrxCr(String avgTrxCr) {
		this.avgTrxCr = avgTrxCr;
	}

	public String getSrcIncome() {
		return srcIncome;
	}

	public void setSrcIncome(String srcIncome) {
		this.srcIncome = srcIncome;
	}

	public String getHrCust() {
		return hrCust;
	}

	public void setHrCust(String hrCust) {
		this.hrCust = hrCust;
	}

	public String getHrBuss() {
		return hrBuss;
	}

	public void setHrBuss(String hrBuss) {
		this.hrBuss = hrBuss;
	}

	public String getHrCountry() {
		return hrCountry;
	}

	public void setHrCountry(String hrCountry) {
		this.hrCountry = hrCountry;
	}

	public String getHrProduct() {
		return hrProduct;
	}

	public void setHrProduct(String hrProduct) {
		this.hrProduct = hrProduct;
	}

	public String getAddIncome() {
		return addIncome;
	}

	public void setAddIncome(String addIncome) {
		this.addIncome = addIncome;
	}
}
